package edu.wy.service;


import com.baomidou.mybatisplus.extension.service.IService;
import edu.wy.common.result.Result;
import edu.wy.entity.Login;

import edu.wy.entity.Users;
import jakarta.servlet.http.HttpSession;

/**
 * @author jianhong_ran
 */
public interface UserService extends IService<Users> {

    Result sendCode(String phone, HttpSession session);
    Result login(Login login, HttpSession session);
    Result loginByPhone(Login login, HttpSession session);
    Result loginOut(String token);
    Result addUserByPhone(Login login);

}
